package com.example.xxljob.task;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class XxlJobTask {

    @XxlJob(value = "testJobHandler",description = "测试用例",cron = "0 0/1 0 * * ?")
    public ReturnT testJobHandler(String param){
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        return ReturnT.SUCCESS;
    }


}
